[Core] DrawMesh<Hexahedron>: add quick test for quads when drawing hexa#6152
[Core] DrawMesh<Hexahedron>: add quick test for quads when drawing hexa#6152fredroy wants to merge 2 commits into
Conversation
|
The change obviously suits me but it could be indeed worth it to discuss it with Alex (author of DrawMesh) and Erik (for topologies) |
|
I would advocate going for the third option when no facet is available in the topology. And it would only be slower for the first timestep. |
The problem with that solution is that:
So in this case, the best would be that the topology itself manages the quad (the problem in the first place actually) with a function like Finally my preferred solution actually would be simply to call |
More a hotfix than a real fix:
-> #6151
as I think sparsegrid and hexahedronFEMForceField are quite used here and there.
The real fix(es) should be:
and maybe, doing the same for triangles and Tetrahedron ?
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if